package com.gagakuai.bpm.service.camunda.impl;

import com.gagakuai.bpm.dao.mapper.camunda.BrokerMessageLogMapper;

import com.gagakuai.bpm.domian.entity.camuda.BrokerMessageLog;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BrokerMessageLogServiceImpl implements BrokerMessageLogService {

    @Resource
    private BrokerMessageLogMapper brokerMessageLogMapper;

    @Override
    public int deleteByPrimaryKey(String messageId) {
        return brokerMessageLogMapper.deleteByPrimaryKey(messageId);
    }

    @Override
    public int insert(BrokerMessageLog record) {
        return brokerMessageLogMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(BrokerMessageLog record) {
        return brokerMessageLogMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(BrokerMessageLog record) {
        return brokerMessageLogMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(BrokerMessageLog record) {
        return brokerMessageLogMapper.insertSelective(record);
    }

    @Override
    public BrokerMessageLog selectByPrimaryKey(String messageId) {
        return brokerMessageLogMapper.selectByPrimaryKey(messageId);
    }

    @Override
    public int updateByPrimaryKeySelective(BrokerMessageLog record) {
        return brokerMessageLogMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(BrokerMessageLog record) {
        return brokerMessageLogMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<BrokerMessageLog> list) {
        return brokerMessageLogMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<BrokerMessageLog> list) {
        return brokerMessageLogMapper.batchInsert(list);
    }

}
